home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950726-19950929 / 000151_news@columbia.edu_Sat Aug 12 01:12:29 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23793
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 13 Aug 1995 23:09:50 -0400
  3. Received: by apakabar.cc.columbia.edu id AA06623
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 13 Aug 1995 23:09:49 -0400
  5. Path: news.columbia.edu!spcuna!solaris.cc.vt.edu!news.mathworks.com!news.kei.com!travelers.mail.cornell.edu!newstand.syr.edu!usenet
  6. From: vefatica@syr.edu (Vincent Fatica)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Breaking out of a auto-redial script?
  9. Date: Sat, 12 Aug 1995 01:12:29 GMT
  10. Organization: Syracuse University
  11. Lines: 43
  12. Message-Id: <40gv11$edt@newstand.syr.edu>
  13. References: <40gdid$1gdu@rover.ucs.ualberta.ca>
  14. Reply-To: vefatica@syr.edu
  15. Nntp-Posting-Host: sudial-93.syr.edu
  16. X-Newsreader: Forte Free Agent 1.0.82
  17. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  18.  
  19. crossman@dc-next.ucs.ualberta.ca (Ken Crossman) wrote:
  20.  
  21. >We have a Mskermit 3.13 script which will auto-redial our modem pool
  22. >until it gets a free modem.
  23.  
  24. >This can be a time consuming  process, 100s of attempts, so we would
  25. >like to have the option of breaking out of the script loop.
  26.  
  27. >So far no key-strokes seem capable of doing this ie it dials until it
  28. >gets a free modem  and nothing stops it .
  29.  
  30. Ken,
  31.  
  32. I seem to recall having to deal with the same problem. If I remember
  33. correctly, I inserted something like
  34.  
  35.     set alarm 2
  36.     if not alarm end 1
  37.  
  38. in the redial loop. It did not make my redialing slower since it replaced a
  39. "pause 2" which gave the modem time to regroup before redialing. If a key is
  40. pressed during these 2 seconds, the "set alarm 2" command is interrupted;
  41. the alarm does not expire, "not alarm" is TRUE, and the script exits, the
  42. return code of 1 indicating failure. It's still a little hard to hit a key
  43. at just the right time. Prefixing the two lines above with
  44.  
  45.     echo Keystroke NOW to abort!!!
  46.  
  47. helps a bit.
  48.  
  49. I hope it helps.
  50.  
  51.  - Vince
  52.  
  53. >Any ideas out there?
  54.  
  55.  
  56. *************************************
  57.    Vincent Fatica
  58.    Syracuse University Mathematics
  59.    vefatica@syr.edu
  60. *************************************
  61.